home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XChangePointerControl.z / XChangePointerControl
Encoding:
Text File  |  2002-10-03  |  5.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXCCCChhhhaaaannnnggggeeeePPPPooooiiiinnnntttteeeerrrrCCCCoooonnnnttttrrrroooollll((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXCCCChhhhaaaannnnggggeeeePPPPooooiiiinnnntttteeeerrrrCCCCoooonnnnttttrrrroooollll((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XChangePointerControl, XGetPointerControl - control pointer
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           XChangePointerControl(_d_i_s_p_l_a_y, _d_o__a_c_c_e_l, _d_o__t_h_r_e_s_h_o_l_d,
  13.           _a_c_c_e_l__n_u_m_e_r_a_t_o_r,
  14.                                   _a_c_c_e_l__d_e_n_o_m_i_n_a_t_o_r, _t_h_r_e_s_h_o_l_d)
  15.                 Display *_d_i_s_p_l_a_y;
  16.                 Bool _d_o__a_c_c_e_l, _d_o__t_h_r_e_s_h_o_l_d;
  17.                 int _a_c_c_e_l__n_u_m_e_r_a_t_o_r, _a_c_c_e_l__d_e_n_o_m_i_n_a_t_o_r;
  18.                 int _t_h_r_e_s_h_o_l_d;
  19.  
  20.           XGetPointerControl(_d_i_s_p_l_a_y, _a_c_c_e_l__n_u_m_e_r_a_t_o_r__r_e_t_u_r_n,
  21.           _a_c_c_e_l__d_e_n_o_m_i_n_a_t_o_r__r_e_t_u_r_n,
  22.                                  _t_h_r_e_s_h_o_l_d__r_e_t_u_r_n)
  23.                 Display *_d_i_s_p_l_a_y;
  24.                 int *_a_c_c_e_l__n_u_m_e_r_a_t_o_r__r_e_t_u_r_n,
  25.           *_a_c_c_e_l__d_e_n_o_m_i_n_a_t_o_r__r_e_t_u_r_n;
  26.                 int *_t_h_r_e_s_h_o_l_d__r_e_t_u_r_n;
  27.  
  28.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  29.           _a_c_c_e_l__d_e_n_o_m_i_n_a_t_o_r
  30.                     Specifies the denominator for the acceleration
  31.                     multiplier.
  32.  
  33.           _a_c_c_e_l__d_e_n_o_m_i_n_a_t_o_r__r_e_t_u_r_n
  34.                     Returns the denominator for the acceleration
  35.                     multiplier.
  36.  
  37.           _a_c_c_e_l__n_u_m_e_r_a_t_o_r
  38.                     Specifies the numerator for the acceleration
  39.                     multiplier.
  40.  
  41.           _a_c_c_e_l__n_u_m_e_r_a_t_o_r__r_e_t_u_r_n
  42.                     Returns the numerator for the acceleration
  43.                     multiplier.
  44.  
  45.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  46.  
  47.           _d_o__a_c_c_e_l  Specifies a Boolean value that controls whether
  48.                     the values for the accel_numerator or
  49.                     accel_denominator are used.
  50.  
  51.           _d_o__t_h_r_e_s_h_o_l_d
  52.                     Specifies a Boolean value that controls whether
  53.                     the value for the threshold is used.
  54.  
  55.           _t_h_r_e_s_h_o_l_d Specifies the acceleration threshold.
  56.  
  57.           _t_h_r_e_s_h_o_l_d__r_e_t_u_r_n
  58.                     Returns the acceleration threshold.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXCCCChhhhaaaannnnggggeeeePPPPooooiiiinnnntttteeeerrrrCCCCoooonnnnttttrrrroooollll((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXCCCChhhhaaaannnnggggeeeePPPPooooiiiinnnntttteeeerrrrCCCCoooonnnnttttrrrroooollll((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  75.           The _X_C_h_a_n_g_e_P_o_i_n_t_e_r_C_o_n_t_r_o_l function defines how the pointing
  76.           device moves.  The acceleration, expressed as a fraction, is
  77.           a multiplier for movement. For example, specifying 3/1 means
  78.           the pointer moves three times as fast as normal.  The
  79.           fraction may be rounded arbitrarily by the X server.
  80.           Acceleration only takes effect if the pointer moves more
  81.           than threshold pixels at once and only applies to the amount
  82.           beyond the value in the threshold argument.  Setting a value
  83.           to -1 restores the default.  The values of the do_accel and
  84.           do_threshold arguments must be _T_r_u_e for the pointer values
  85.           to be set, or the parameters are unchanged.  Negative values
  86.           (other than -1) generate a _B_a_d_V_a_l_u_e error, as does a zero
  87.           value for the accel_denominator argument.
  88.  
  89.           _X_C_h_a_n_g_e_P_o_i_n_t_e_r_C_o_n_t_r_o_l can generate a _B_a_d_V_a_l_u_e error.
  90.  
  91.           The _X_G_e_t_P_o_i_n_t_e_r_C_o_n_t_r_o_l function returns the pointer's
  92.           current acceleration multiplier and acceleration threshold.
  93.  
  94.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  95.           _B_a_d_V_a_l_u_e  Some numeric value falls outside the range of
  96.                     values accepted by the request.  Unless a specific
  97.                     range is specified for an argument, the full range
  98.                     defined by the argument's type is accepted.  Any
  99.                     argument defined as a set of alternatives can
  100.                     generate this error.
  101.  
  102.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  103.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.